package com.pointi.emoTools;

public class vasResult
{
	private int callkey ;
	private int status ;
	private int subtime ;
	private int section ;
	
	public vasResult()
	{
		//
	}
	
	public vasResult(int callkey, int status, int section, int subtime)
	{
		this.callkey = callkey ;
		this.status = status ;
		this.subtime = subtime ;
		this.section = section ;
	}
	
	public void callkey(int callkey) { this.callkey = callkey ; }
	public void status(int status) { this.status = status ; }
	public void subtime(int subtime) { this.subtime = subtime ; }
	public void section(int section) { this.section = section ; }
	
	public int callkey() { return callkey ; }
	public int status() { return status ; }
	public int subtime() { return subtime ; }
	public int section() { return section ; }
	
	public String fnGetQuery(String inDate)
	{
		String query = "" ;
		query = "INSERT INTO t_engine_Y" + inDate + " (" +
				" callkey , " +
				" status , " +
				" subtime , " +
				" section " +
				") VALUES (" +
				callkey + ", " + 
				status + ", " + 
				subtime + ", " + 
				section + 
				") ;" ;
		return query ;
	}
}
